home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / developm / source / ncsat.cpt / Telnet2.5 final / main / configrec.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-14  |  2.6 KB  |  64 lines

  1. /*
  2. *    configrec.c
  3. *    User interface code for NCSA Telnet for the Macintosh
  4. *     by Gaige B. Paulsen
  5. ****************************************************************************
  6. *                                                                          *
  7. *      Uses    :                                                               *
  8. *      TCP/IP kernel for NCSA Telnet                                       *
  9. *      by Tim Krauskopf                                                    *
  10. *       with Macintosh code by Gaige B. Paulsen                                 *
  11. *                                                                          *
  12. *      National Center for Supercomputing Applications                     *
  13. *      152 Computing Applications Building                                 *
  14. *      605 E. Springfield Ave.                                             *
  15. *      Champaign, IL  61820                                                *
  16. *                                                                          *
  17. *                                                                          *
  18. ****************************************************************************
  19. *
  20. *    Configuration structure.    
  21. *
  22. *    Included by:
  23. *        config.c
  24. *        menu.c
  25. *        maclook.c
  26. */
  27.  
  28. typedef struct {
  29.     int                        /* BYU */
  30.         connectionType,        /* BYU serial - 0 = network, 1 = serial, 2 = SLIP */
  31.         ftpstate,            /* BYU - 0 = Telnet session, 1 = Ftp session */
  32.         bsdel,                /* BYU - True if Backspace should remap to delete */
  33.         tektype,            /* 0 for 4014, 1 for 4105 */
  34.         width,                /* Width of screen in columns 80/132 */
  35.         clearsave,            /* True if should save cleared screen lines */
  36.         tekclear,            /* True if clear on ESC-FF, False if new window */
  37.         halfdup,            /* True if send immediate and echo arrows in Telnet NO ECHO mode */
  38.         crmap,                /* True if CR-NUL */
  39.         vtwrap,                /* True if Terminal WRAP setting is enabled by default */
  40.         nlines,                /* number of usable lines in the window */
  41.         eightbit,            /* eight bit font? */                /* BYU 2.4.9 */
  42.         forcesave,            /* NCSA 2.5 */
  43.         port,                /* what TCP port number to connect to, TELNET == 23 */
  44.         lineAllow,            /* allow linemode? */
  45.         scrollback;            /* # of lines of scrollback */
  46.     short font;                /* Font ID */
  47.     short ftpwind;            /* is it an ftp window? */
  48.     int fsize;                /* Font size */
  49.     unsigned int 
  50.         red[4],                /* Colors: 1-NF, 2-NB, 3-BF, 4-BB */
  51.         green[4],
  52.         blue[4];
  53.     char 
  54.         TELstop,            /* Character for scrolling to stop */
  55.         TELgo,                /* Character for scrolling to go */
  56.         TELip,                /* Character for interrupt process */
  57.         *name,                /* Window name */
  58.          *machine;            /* Machine Name */
  59.     Rect window,            /* Window Rectangle (USER) */
  60.          stdwindow;            /* Window Rectangle (Standard */
  61.     } ConfigRec;
  62.  
  63.  
  64.